import Aura from '@primevue/themes/aura';
import { createPinia } from 'pinia';
import PrimeVue from 'primevue/config';
import { createApp } from 'vue';
import App from './App.vue';
import ruLocale from './assets/ru.json';
import { router } from './routers';
import './style.css';

const pinia = createPinia();

createApp(App)
	.use(pinia)
	.use(router)
	.use(PrimeVue, {
		locale: ruLocale,
		options: {
			// prefix: 'p',
			// darkModeSelector: 'system',
			// cssLayer: false
		},
		ripple: true,
		theme: {
			preset: Aura,
		},
	})
	.mount('#app');
